package spe.ui.editor.part;

import org.eclipse.draw2d.IFigure;

import spe.model.spem.TaskDefinition;
import spe.ui.editor.figure.TaskFigure;

public class TaskEditPart extends AbstractElementNodeEditPart 
{
	public TaskEditPart()
	{
		super();
	}
	
	public TaskEditPart(TaskDefinition model)
	{
		super();
		setModel(model);
	}

	@Override
	protected IFigure createFigure() 
	{
		return new TaskFigure();
	}
}
